<template>
  <div class="service">
       <Header title="我的客服" background="#fff"/>
       <p class="tit">扫描下方二维码添加您的专属客服</p>
        <div class="ewm">二维码</div>
  </div>
</template>

<script>
import { mapGetters, mapActions } from 'vuex'
export default {
  name: 'service',
  computed: { ...mapGetters({ pageData: 'pageData'}) },
  data () {
    return {
      show: false,
      showModel: false,
      actions: [
        {
          name: '生成海报',type: 1
        },
        {
          name: '分享好友',type: 2
        },
    ]
    }
  },
  methods: {
    save() {
      this.showModel = false
    },
    goPersonal() {
      this.$router.push({name: 'personal'})
    },
    onSelect(item){
      console.log(item)
      this.show = false
      if(item.type==1) {
        this.showModel = true
      }
    },
    toCancel(){
      console.log('点击了取消');
    }
  },
  mounted() {
    
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scope>
.service {
  // padding-top: 50px;
  padding: 120px 10px;
  box-sizing: border-box;
  p {
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #666666;
    line-height: 60px;
    text-align: center;
  }
  .ewm {
    width: 200px;
    height: 200px;
    background-color: pink;
    margin: 0 auto;
  }

}
</style>
